/** 
 * AbstractFallOfWicketsParser.java Created by iweerarathna on Aug 29, 2011.
 * 
 * Copyright (c) 2011 Virtusa Corporation. All Rights Reserved.<br><br>. 
 * 
 */
package org.uim.cricket.analyzer.parsers.partnerships;

import java.util.List;
import org.uim.cricket.entities.partnerships.FallOfWicket;

/**
 * TODO Class description goes here.
 * @version 
 * @author iweerarathna
 */
public abstract class AbstractFallOfWicketsParser {
    
    private FallOfWicketParsable fallOfWicketParser = null;
    
    public AbstractFallOfWicketsParser(FallOfWicketParsable theFallOfWicketParser) {
        this.fallOfWicketParser = theFallOfWicketParser;
    }
    
    public FallOfWicketParsable getFallOfWicketParser() {
        return fallOfWicketParser;
    }
    
    public void setFallOfWicketParser(FallOfWicketParsable fallOfWicketParser) {
        this.fallOfWicketParser = fallOfWicketParser;
    }
    
    public abstract List<FallOfWicket> parseAllFallOfWickets(String source);
    
}
